#root {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
  
  &:hover {
    filter: drop-shadow(0 0 2em #646cffaa);
    
    &.react {
      filter: drop-shadow(0 0 2em #61dafbaa);
    }
  }
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

// App组件样式
.app-container {
  width: 100%;
  height: 100vh;
  position: relative;
  
  // 用户信息区域
  .user-info {
    position: absolute;
    top: 20px;
    right: 50px;
    z-index: 1000;
    
    // 用户信息展示区
    .user-display {
      display: flex;
      align-items: center;
      cursor: pointer;
      
      .username {
        margin-right: 10px;
        color: #333;
      }
      
      .user-avatar {
        border: 2px solid #fff;
      }
    }
    
    // 登录注册按钮区
    .auth-buttons {
      .login-button {
        margin-right: 10px;
      }
    }
  }
} 